<?php echo $html->css('report'); ?>
<div id="main_school" class="clearfix">
    <div id="content_school" class="clearfix">
        <div class="list_content">
            <div style="float:left; padding-left:10px;">
            	<?php echo $html->image('logoSchool.jpg');?>
            </div><b style="font-size:28px;">Schools Report</b>
            <div>
	            	<div  style="float:right;">
		            	<?php
							echo $this->Paginator->counter(array(
							'format' => __('Page %page% of %pages%', true)
							));
					    ?>
				    </div>
			    
				    <div class="pages" style="float:right;">
				        <?php echo $this->Paginator->prev('<< ' . __('previous', true), array(), null, array('class'=>'disabled'));?>
				        | 
				        <?php echo $this->Paginator->numbers();?>
				        |
				        <?php echo $this->Paginator->next(__('next', true) . ' >>', array(), null, array('class' => 'disabled'));?>
    				</div>
			 </div>
        </div>
         <?php foreach ($schools as $school) : ?>
        <div class="list_content">
			<table border="0" cellpadding="0" cellspacing="0" width="100%">
				<tr>
					<td width="35%" colspan="2"><b><?php echo $school['School']['schoolName']; ?></b></td>
					<td width="25%"><b>Contact</b> <?php echo $school['Contact']['contactName']; ?></td>
					<td width="40%"><b>Sponsored by</b>&nbsp;&nbsp;<?php echo $school['Sponsor']['sponsorName']; ?></td>
				</tr>
				<tr>
					<td width="10%"><b>User name</b></td>
					<td width="25%"><?php echo $school['User']['userName']; ?></td>
					<td><?php echo $phone->format_phone($school['Contact']['phone']); ?></td>
					<td></td>
				</tr>
				<tr>
					<td><b>User Status</b></td>
					<td><?php echo $school['User']['active']!=1?'Inactive':'Active';?></td>
					<td><?php echo $school['Contact']['email'];?></td>
					<td></td>
				</tr>
				<tr>
					<td><b>Default SMSC</b></td>
					<td></td>
					<td><?php //echo $school['School']['website']; ?></td>
					<td style="padding-left:100px;"><?php echo $school['Contact']['address1']; ?></td>
				</tr>
				<tr>
					<td><b>Notes</b></td>
					<td colspan="3">
					<div class="text"><?php echo $school['School']['note']; ?></div>
					<span style="padding-left:30px; font-style:italic;">School ID</span>
					<span style="padding-left:80px; font-style:italic;"><?php echo $school['School']['id']; ?></span>
					</td>
				</tr>
			</table>
		</div>
		<?php endforeach;?>
    </div>
</div>
